package com.tutorialspoint.benDef;

public class A {

	private String message;
	private final int num;

	public A(int num) {
		this.num = num;

	}

	public A(int num, String message) {
		this.message = message;
		this.num = num;
	}

	public void setNum() {
		System.out.println("msg is " + message);
		System.out.println("Num is " + num);
	}

}
